package com.itheima.service;

        import com.itheima.domian.Student;

        import java.io.IOException;
        import java.util.List;

public interface StudentService {
    Student login(Student student)throws IOException;
    List<Student> findAll()throws IOException;
    void delete(int cid)throws IOException;
    void add(Student student)throws IOException;
    void update(Student student) throws IOException;
    Student findById(Integer cid)throws IOException;
}
